from django.db import models

# Create your models here.
from contents.models import BaseModle
from users.models import User


class OauthMobile(BaseModle):
    user=models.ForeignKey(User,on_delete=models.CASCADE)
    openid=models.CharField(max_length=50)

    # create_time=models.DateTimeField(auto_now_add=True)
    # update_time=models.DateTimeField(auto_now=True)

    class Meta:

        db_table='tb_qq_oauth'

